package com.iris.live.services.data.models;

import javax.persistence.*;
import java.util.Date;

/**
 * Created by yitianle on 2018/1/3.
 */
@Entity
@Table(name = "snp_business_set_logs", schema = "", catalog = "")
public class SnpBusinessSetLogs {

    private int id;
    private String permit;
    private String brand;
    private String carSeries;
    private String carModel;
    private String carStyle;
    private String msrp;
    private String targetSaleNum;
    private String laseMonthSaleAmount;
    private String amountUnit;
    private String difference;
    private String stockNum;
    private String stockTurnoverDay;
    private String actSaleStock;
    private String saleGp;
    private String standardGp;
    private String gmActRate;
    private String gmRequireRate;
    private String comprehensiveGp;
    private String gmFixedPrice;
    private String gmGp;
    private String saleGmFixedPrice;
    private String saleGmGp;
    private String scFixedPrice;
    private String scGp;
    private String mark;
    private Date createdTime;

    public SnpBusinessSetLogs() {
    }

    public SnpBusinessSetLogs(String permit, String brand, String carSeries, String carModel, String carStyle, String msrp, String targetSaleNum, String laseMonthSaleAmount, String amountUnit, String difference, String stockNum, String stockTurnoverDay, String actSaleStock, String saleGp, String standardGp, String gmActRate, String gmRequireRate, String comprehensiveGp, String gmFixedPrice, String gmGp, String saleGmFixedPrice, String saleGmGp, String scFixedPrice, String scGp, String mark, Date createdTime) {
        this.permit = permit;
        this.brand = brand;
        this.carSeries = carSeries;
        this.carModel = carModel;
        this.carStyle = carStyle;
        this.msrp = msrp;
        this.targetSaleNum = targetSaleNum;
        this.laseMonthSaleAmount = laseMonthSaleAmount;
        this.amountUnit = amountUnit;
        this.difference = difference;
        this.stockNum = stockNum;
        this.stockTurnoverDay = stockTurnoverDay;
        this.actSaleStock = actSaleStock;
        this.saleGp = saleGp;
        this.standardGp = standardGp;
        this.gmActRate = gmActRate;
        this.gmRequireRate = gmRequireRate;
        this.comprehensiveGp = comprehensiveGp;
        this.gmFixedPrice = gmFixedPrice;
        this.gmGp = gmGp;
        this.saleGmFixedPrice = saleGmFixedPrice;
        this.saleGmGp = saleGmGp;
        this.scFixedPrice = scFixedPrice;
        this.scGp = scGp;
        this.mark = mark;
        this.createdTime = createdTime;
    }

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Basic
    @Column(name = "permit")
    public String getPermit() {
        return permit;
    }

    public void setPermit(String permit) {
        this.permit = permit;
    }

    @Basic
    @Column(name = "brand")
    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    @Basic
    @Column(name = "car_series")
    public String getCarSeries() {
        return carSeries;
    }

    public void setCarSeries(String carSeries) {
        this.carSeries = carSeries;
    }

    @Basic
    @Column(name = "car_model")
    public String getCarModel() {
        return carModel;
    }

    public void setCarModel(String carModel) {
        this.carModel = carModel;
    }

    @Basic
    @Column(name = "car_style")
    public String getCarStyle() {
        return carStyle;
    }

    public void setCarStyle(String carStyle) {
        this.carStyle = carStyle;
    }

    @Basic
    @Column(name = "msrp")
    public String getMsrp() {
        return msrp;
    }

    public void setMsrp(String msrp) {
        this.msrp = msrp;
    }

    @Basic
    @Column(name = "target_sale_num")
    public String getTargetSaleNum() {
        return targetSaleNum;
    }

    public void setTargetSaleNum(String targetSaleNum) {
        this.targetSaleNum = targetSaleNum;
    }

    @Basic
    @Column(name = "lase_month_sale_amount")
    public String getLaseMonthSaleAmount() {
        return laseMonthSaleAmount;
    }

    public void setLaseMonthSaleAmount(String laseMonthSaleAmount) {
        this.laseMonthSaleAmount = laseMonthSaleAmount;
    }

    @Basic
    @Column(name = "amount_unit")
    public String getAmountUnit() {
        return amountUnit;
    }

    public void setAmountUnit(String amountUnit) {
        this.amountUnit = amountUnit;
    }

    @Basic
    @Column(name = "difference")
    public String getDifference() {
        return difference;
    }

    public void setDifference(String difference) {
        this.difference = difference;
    }

    @Basic
    @Column(name = "stock_num")
    public String getStockNum() {
        return stockNum;
    }

    public void setStockNum(String stockNum) {
        this.stockNum = stockNum;
    }

    @Basic
    @Column(name = "stock_turnover_day")
    public String getStockTurnoverDay() {
        return stockTurnoverDay;
    }

    public void setStockTurnoverDay(String stockTurnoverDay) {
        this.stockTurnoverDay = stockTurnoverDay;
    }

    @Basic
    @Column(name = "act_sale_stock")
    public String getActSaleStock() {
        return actSaleStock;
    }

    public void setActSaleStock(String actSaleStock) {
        this.actSaleStock = actSaleStock;
    }

    @Basic
    @Column(name = "sale_gp")
    public String getSaleGp() {
        return saleGp;
    }

    public void setSaleGp(String saleGp) {
        this.saleGp = saleGp;
    }

    @Basic
    @Column(name = "standard_gp")
    public String getStandardGp() {
        return standardGp;
    }

    public void setStandardGp(String standardGp) {
        this.standardGp = standardGp;
    }

    @Basic
    @Column(name = "gm_act_rate")
    public String getGmActRate() {
        return gmActRate;
    }

    public void setGmActRate(String gmActRate) {
        this.gmActRate = gmActRate;
    }

    @Basic
    @Column(name = "gm_require_rate")
    public String getGmRequireRate() {
        return gmRequireRate;
    }

    public void setGmRequireRate(String gmRequireRate) {
        this.gmRequireRate = gmRequireRate;
    }

    @Basic
    @Column(name = "comprehensive_gp")
    public String getComprehensiveGp() {
        return comprehensiveGp;
    }

    public void setComprehensiveGp(String comprehensiveGp) {
        this.comprehensiveGp = comprehensiveGp;
    }

    @Basic
    @Column(name = "gm_fixed_price")
    public String getGmFixedPrice() {
        return gmFixedPrice;
    }

    public void setGmFixedPrice(String gmFixedPrice) {
        this.gmFixedPrice = gmFixedPrice;
    }

    @Basic
    @Column(name = "gm_gp")
    public String getGmGp() {
        return gmGp;
    }

    public void setGmGp(String gmGp) {
        this.gmGp = gmGp;
    }

    @Basic
    @Column(name = "sale_gm_fixed_price")
    public String getSaleGmFixedPrice() {
        return saleGmFixedPrice;
    }

    public void setSaleGmFixedPrice(String saleGmFixedPrice) {
        this.saleGmFixedPrice = saleGmFixedPrice;
    }

    @Basic
    @Column(name = "sale_gm_gp")
    public String getSaleGmGp() {
        return saleGmGp;
    }

    public void setSaleGmGp(String saleGmGp) {
        this.saleGmGp = saleGmGp;
    }

    @Basic
    @Column(name = "sc_fixed_price")
    public String getScFixedPrice() {
        return scFixedPrice;
    }

    public void setScFixedPrice(String scFixedPrice) {
        this.scFixedPrice = scFixedPrice;
    }

    @Basic
    @Column(name = "sc_gp")
    public String getScGp() {
        return scGp;
    }

    public void setScGp(String scGp) {
        this.scGp = scGp;
    }

    @Basic
    @Column(name = "mark")
    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    @Basic
    @Column(name = "created_time")
    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }
}
